<!-- SyntaxHighlighter css -->
<link rel="stylesheet" type="text/css" href="/static/SyntaxHighlighter/shCore.css">
<link rel="stylesheet" type="text/css" href="/static/SyntaxHighlighter/shCoreEclipse.css">
<!-- SyntaxHighlighter js -->
<script type="text/javascript" src="/static/SyntaxHighlighter/shCore.js"></script>
<script type="text/javascript" src="/static/SyntaxHighlighter/shBrushAll.js"></script>
<script type="text/javascript">SyntaxHighlighter.all();</script>

<style type="text/css">p{text-indent: 30px;}</style>
<!-- Header-1 -->
<div class="header-1">
    <!-- Logo -->
    <div class="logo">
        <!--<a href="index.html">COUTURE</a>-->
    </div>
</div>
<!-- Contact-Info -->
<div class="contact-info">
    <div class="contact-info-grids">
        <div class="col-md-12 col-sm-12 contact-info-grid contact-info-grid-2 info-text">
            <div>
                <!--<h3 style="display:inline-block;margin-right:20px;">书单</h3>-->
            </div>
            <div class="contact-info-grid contact-info-grid-1 info-image">
                <img src="/static/images/shop.jpg" alt="Couture">
            </div>

            <h3 class="hdg">DIR 目录</h3>
            <ol>
                {foreach $files as $vo }
                <li class="list-group-item1">
                    {if condition="$vo['isLeadingIn'] > 0"}
                        <a href="{:url('ext/demo/fileContent',array('id'=>$vo['isLeadingIn']))}">
                        <span class="badge badge-primary">√</span>
                    {else /}
                        <a href="{:url('ext/demo/readFile',array('path'=>$vo['name']))}">
                    {/if}
                    {$vo['name']}</a>
                </li>
                {/foreach}
            </ol>

            <h3 class="hdg">BOOKLIST 书单</h3>
            <ul class="list-group">
                {foreach $bookList as $vo }
                <li class="list-group-item">
                    {if condition="$vo['is_complete']>0"}
                        <span class="badge badge-primary">√</span>
                        <a target="_blank" href="{:url('ext/demo/fileContent',array('id'=>$vo['id']))}">
                    {else}
                        <a href="{:url('ext/demo/readFile',array('id'=>$vo['id']))}">
                    {/if}
                    {$vo['name']}</a>
                </li>
                {/foreach}
            </ul>
        </div>
        <div class="clearfix"></div>
    </div>
</div>